package com.demo.face;


import com.demo.util.Utils;
import com.demo.AppletConstant;

import java.util.HashMap;
import java.util.Map;


/**
 * 人脸识别-获取视频信息
 *
 */
public class FaceVideo {
	public static void main(String[] args) {
		
		//调用接口地址
		String url = "https://open.95516.com/open/access/1.0/face.video";
		
		//拼装参数Map
		Map<String, String> params = new HashMap<String, String>(0);
		params.put("appId", AppletConstant.APP_ID);
		params.put("openId", AppletConstant.openId);
		params.put("backendToken", AppletConstant.backendToken);
		params.put("accessToken", AppletConstant.accessToken);
		
	

		//发送请求
		String resultStr = Utils.sendPostGson(url, params);
		
		System.out.println("-------人脸识别-获取视频信息:"+resultStr+"---------");
	}
	
}
